<template>
  <div>
    <router-view v-slot="{ Component }">
      <transition name="fade" mode="out-in" appear>
        <component :is="Component" />
      </transition>
    </router-view>
  </div>
</template>

<script>
import LayoutHeader from "@/components/LayoutHeader.vue";
import LayoutSiderMenu from "@/components/LayoutSiderMenu.vue";
import { mapGetters } from 'vuex'

export default {
  name: 'App',
  components: {
    LayoutHeader,
    LayoutSiderMenu
  },
  computed: {
    ...mapGetters('menu', ['getExpertMenu', 'getBidderMenu', 'getAdminMenu'])
  },
  mounted() {
  }
};
</script>

<style>

.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.3s ease;
}

.fade-enter-from,
.fade-leave-to {
  opacity: 0;
}
</style>
